<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        section {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: #112d42;
        }

        section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 50%;
            height: 100%;
            background: #03a9f4;
        }

        section .container {
            position: relative;
            min-width: 1100px;
            min-height: 550px;
            display: flex;
            z-index: 1000;
        }

        section .container .contactinfo {
            position: absolute;
            top: 40px;
            width: 350px;
            height: calc(100% - 80px);
            background: #0f3959;
            z-index: 1;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-shadow: 0 20px 20px rgba(0, 0, 0, .2);
        }

        section .container .contactinfo h2 {
            color: #fff;
            font-size: 24px;
            font-weight: 500;
        }

        section .container .contactinfo .info {
            position: relative;
            margin: 20px 0;
        }

        section .container .contactinfo .info li {
            position: relative;
            list-style: none;
            display: flex;
            margin: 20px 0;
            cursor: pointer;
            align-items: flex-start;
        }

        section .container .contactinfo .info li span:nth-child(1) {
            width: 30px;
            min-width: 30px;
        }

        section .container .contactinfo .info li span:nth-child(1) img {
            max-width: 100%;
            filter: invert(1);
            opacity: .5;
        }

        section .container .contactinfo .info li span:nth-child(2) {
            color: #fff;
            margin-left: 10px;
            font-weight: 300;
            opacity: .5;
        }

        section .container .contactinfo .info li:hover span:nth-child(1) img,
        section .container .contactinfo .info li:hover span:nth-child(2) {
            opacity: 1;
        }

        section .container .contactinfo .sci {
            position: relative;
            display: flex;
        }

        section .container .contactinfo .sci li {
            list-style: none;
            margin-right: 15px;
        }

        section .container .contactinfo .sci li a .fa {
            margin-top: 120px;
            color: #fff;
            opacity: .5;
            font-size: 20px;
        }

        section .container .contactinfo .sci li:hover a .fa {
            opacity: 1;
        }

        section .container .contactForm {
            position: absolute;
            padding: 70px 50px;
            background: #fff;
            margin-left: 150px;
            padding-left: 250px;
            width: calc(100% - 150px);
            height: 100%;
            box-shadow: 0 50px 50px rgba(0, 0, 0, .5);
        }

        section .container .contactForm h2 {
            color: #0f3959;
            font-size: 24px;
            font-weight: 500;
        }

        section .container .contactForm .formBox {
            position: relative;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            padding-top: 30px;
        }

        section .container .contactForm .formBox .inputBox {
            position: relative;
            margin: 0 0 35px 0;
        }

        section .container .contactForm .formBox .inputBox.w50 {
            width: 47%;
        }

        section .container .contactForm .formBox .inputBox.w100 {
            width: 100%;
        }

        section .container .contactForm .formBox .inputBox input,
        section .container .contactForm .formBox .inputBox textarea {
            width: 100% !important;
            padding: 5px 0;
            resize: none;
            font-size: 18px;
            font-weight: 300;
            color: #333;
            border: none;
            border-bottom: 1px solid #777;
            outline: none;
        }

        section .container .contactForm .formBox .inputBox textarea {
            min-height: 120px;
        }

        section .container .contactForm .formBox .inputBox span {
            position: absolute;
            left: 0;
            padding: 5px 0;
            font-size: 18px;
            font-weight: 300;
            color: #333;
            transition: .3s;
            pointer-events: none;
        }

        section .container .contactForm .formBox .inputBox input:focus~span,
        section .container .contactForm .formBox .inputBox textarea:focus~span,
        section .container .contactForm .formBox .inputBox input:valid~span,
        section .container .contactForm .formBox .inputBox textarea:valid~span {
            transform: translateY(-20px);
            font-size: 12px;
            font-weight: 400;
            letter-spacing: 1px;
            color: #ff568c;
        }

        section .container .contactForm .formBox .inputBox input[type="submit"] {
            position: relative;
            cursor: pointer;
            background: #0f3959;
            color: #fff;
            border: none;
            max-width: 150px;
            padding: 12px;
        }

        section .container .contactForm .formBox .inputBox input[type="submit"]:hover {
            background: #ff568c;
        }
    </style>
</head>

<body>
    <section>
        <div class="container">
            <div class="contactinfo">
                <div>
                    <h2>Contact Info</h2>
                    <ul class="info">
                        <li>
                            <span><img src="../image/14.png" alt=""></span>
                            <span>2912 Meadowbrook Road<br>
                                Los Angeles, CA<br>
                                90017</span>
                        </li>
                        <li>
                            <span><img src="../image/15.png" alt=""></span>
                            <span>lorem@ipsum.com</span>
                        </li>
                        <li>
                            <span><img src="../image/16.png" alt=""></span>
                            <span>310-386-1623</span>
                        </li>
                    </ul>
                    <ul class="sci">
                        <li><a href="#"><span class="fa fa-facebook-f"></span></a></li>
                        <li><a href="#"><span class="fa fa-instagram"></span></a></li>
                        <li><a href="#"><span class="fa fa-qq"></span></a></li>
                        <li><a href="#"><span class="fa fa-play-circle"></span></a></li>
                        <li><a href="#"><span class="fa fa-twitter"></span></a></li>
                    </ul>
                </div>
            </div>
            <div class="contactForm">
                <h2>Send a Message</h2>
                <div class="formBox">
                    <div class="inputBox w50">
                        <input type="text" required>
                        <span>First Name</span>
                    </div>
                    <div class="inputBox w50">
                        <input type="text" required>
                        <span>Last Name</span>
                    </div>
                    <div class="inputBox w50">
                        <input type="text" required>
                        <span>Email Name</span>
                    </div>
                    <div class="inputBox w50">
                        <input type="text" required>
                        <span>Mobile Name</span>
                    </div>
                    <div class="inputBox w100">
                        <textarea required></textarea>>
                        <span>Write your message here...</span>
                    </div>
                    <div class="inputBox w100">
                        <input type="submit" value="Send">
                    </div>
                </div>
            </div>
        </div>
    </section>
</body>

</html>